//
//  SizeManager.h
//  MobileVLCKitDemo
//
//  Created by 金色榜样研发组 on 2019/5/30.
//  Copyright © 2019 Golden Bangyang (beijing) Cul Ture Media Investment Co. All rights reserved.
//

#import <Foundation/Foundation.h>





typedef NS_ENUM(NSInteger, FileSizeType)
{
    FileSizeType_Byets,
    FileSizeType_KB,
    FileSizeType_MB,
    FileSizeType_GB,
    FileSizeType_TB
};

@interface FileSizeModel : NSObject

@property (nonatomic, strong) NSString * _Nullable sizeString;
@property (nonatomic, assign) CGFloat size;
@property (nonatomic, assign) FileSizeType type;

@end





//#import "FileSizeModel.h"
NS_ASSUME_NONNULL_BEGIN

@interface SizeManager : NSObject

/** 将数字转换为存储单位(bytes,KB,MB,GB,TB) */
+ (FileSizeModel *)convertWithSize:(CGFloat)size;

@end

NS_ASSUME_NONNULL_END
